package com.qf.bean.dangan;

/*
            敲得越多，钱越多！！！
            敲得越多，钱越多！！！
            敲得越多，钱越多！！！
*/

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {

    private Integer pid;

    private String pzhanghao;

    private String pname;

    private String pnumber;

    private Integer pdept;

    private Date pdate;

    private Integer uid;

    private String ppassword;

    private String qq;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    private String sex;

    private String cardid;

    private String start;

    //对应楼上的uid，俩个都是users里的属性
    private String uname;
    //对应楼上的pdept，俩个都是dept里的属性
    private String dname;


}
